package cube;

/**
 * @author charmgil
 */

public class OpenFileFilter extends javax.swing.filechooser.FileFilter {
    override public function getDescription(): String {
        return "All files (*.*)";
    }

    override public function accept( f: java.io.File ): Boolean {
        return f.isDirectory()
            or f.isFile();
    }
}
